/**
 * Created by zahir on 2015/4/2.
 */

var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var FileModel = new Schema({
    "FID":{type:ObjectId},
    "FFILERENAME":{type:String},
    "FFILENAME":{type:String},
    "FPARSERTYPE":{type:Number},
    "FFILESTATUS":{type:Number,default:0},
    "FUPLOADTIME":{type:Date,default:Date.now},
    "FERRORMESSAGE":{type:String}
});



mongoose.model('tab_file', FileModel);